package Example8;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);

        try{
            System.out.println("请输入一个整数：");
            int i1 = scanner.nextInt();
            Integer Int1 = Integer.valueOf(i1);
            System.out.println("请输入一个整数：");
            int i2 = scanner.nextInt();
            Integer Int2 = Integer.valueOf(i2);

            System.out.println("Int1 == Int2? "+(Int1==Int2));
        }catch (ClassCastException e){

        }
    }
}
